package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.ScheduleDao;
import com.totoro.domain.Schedule;

@Transactional
@Service
public class ScheduleService extends BaseService<Schedule, Integer>{
	
	private ScheduleDao scheduleDao;
	
	public ScheduleService(){}
	
	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<Schedule, Integer> scheduleDao) {
		this.baseDao = scheduleDao;
		this.scheduleDao = (ScheduleDao) scheduleDao;
		
	}
	
}
